package com.yxinsur.imc.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yxinsur.imc.common.annotation.Excel;
import com.yxinsur.imc.common.core.domain.BaseImcEntity;

import java.math.BigDecimal;

/**
 * 考核主对象 imc_assessment
 *
 * @author imc
 * @date 2021-06-10
 */
public class ImcAssessment extends BaseImcEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private String id;

    /** 考核月份 */
    @Excel(name = "考核月份")
    private String assMonth;

    /** 考核机构ID */
    @Excel(name = "考核机构ID")
    private Long orgId;

    /** 考核元数据ID */
    @Excel(name = "考核元数据ID")
    private Long metaId;

    /** 状态 */
    @Excel(name = "状态")
    private String assStatus;

    /** 考核总人数 */
    @Excel(name = "考核总人数")
    private Long assTotal;

    /** 总佣金 */
    @Excel(name = "总佣金")
    private BigDecimal totalComm;

    /** 总保费 */
    @Excel(name = "总保费")
    private BigDecimal totalPrem;

    /** 总标保 */
    @Excel(name = "总标保")
    private BigDecimal totalStandprem;

    /** 租户id,一个租户id唯一对一个机构id（默认机构id为根节点id暨法人机构） */
    @Excel(name = "租户id,一个租户id唯一对一个机构id", readConverterExp = "默=认机构id为根节点id暨法人机构")
    private Long tenantId;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setAssMonth(String assMonth)
    {
        this.assMonth = assMonth;
    }

    public String getAssMonth()
    {
        return assMonth;
    }
    public void setOrgId(Long orgId)
    {
        this.orgId = orgId;
    }

    public Long getOrgId()
    {
        return orgId;
    }
    public void setAssStatus(String assStatus)
    {
        this.assStatus = assStatus;
    }

    public String getAssStatus()
    {
        return assStatus;
    }
    public void setAssTotal(Long assTotal)
    {
        this.assTotal = assTotal;
    }

    public Long getAssTotal()
    {
        return assTotal;
    }
    public void setTenantId(Long tenantId)
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId()
    {
        return tenantId;
    }

    public Long getMetaId() {
        return metaId;
    }

    public void setMetaId(Long metaId) {
        this.metaId = metaId;
    }

    public BigDecimal getTotalComm() {
        return totalComm;
    }

    public void setTotalComm(BigDecimal totalComm) {
        this.totalComm = totalComm;
    }

    public BigDecimal getTotalPrem() {
        return totalPrem;
    }

    public void setTotalPrem(BigDecimal totalPrem) {
        this.totalPrem = totalPrem;
    }

    public BigDecimal getTotalStandprem() {
        return totalStandprem;
    }

    public void setTotalStandprem(BigDecimal totalStandprem) {
        this.totalStandprem = totalStandprem;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("assMonth", getAssMonth())
            .append("orgId", getOrgId())
            .append("assStatus", getAssStatus())
            .append("assTotal", getAssTotal())
            .append("createId", getCreateId())
            .append("createTime", getCreateTime())
            .append("updateId", getUpdateId())
            .append("updateTime", getUpdateTime())
            .append("isDeleted", getIsDeleted())
            .append("tenantId", getTenantId())
            .toString();
    }
}
